home *** CD-ROM | disk | FTP | other *** search
- Path: news.hi.net!anjo!amcleod
- Distribution: world
- Newsgroups: comp.lang.c
- From: amcleod@anjo.hi.net (Angus Mcleod)
- X-Mailer: NetXpress 1.53
- Date: Sat, 06 Jan 1996 11:55:15 -0640
- Organization: The ANJO BBS
- Subject: Creating a DLL using Watcom C++ 10a?
- Message-ID: <414.1100.52@anjo.hi.net>
-
- RE: Creating a DLL using Watcom C++ 10a?
- BY: Rajendra Singh to ALL on Wed Jan 03 1996 12:38:49
-
- > How easy/difficult is it to create an OS/2 32-bit DLL using the Watcom IDE?
- > How does one ago about it?
-
- I created one yesterday! Unfortunately, I ran into some problems:
-
- i) When my REXX program ran:
-
- ok = RxAddFunc( 'MyFunc', 'MyDLL', 'MyFunc' );
-
- the return value indicated that the function had been
- successfully registered. However, when I then tried:
-
- ok = MyFunc();
-
- I got a REXX error 43 - no such function.
-
- ii) When I tried to re-compile my .DLL source, Watcom's IDE was
- denied access to MyDLL.DLL since it was in use by another
- process. I couldn't figure out how to get rid of it (the
- old .DLL) without rebooting the machine. DeRegistering MyFunc
- didn't help, of course.
- .- -. .--- --- .- -. .--- --- .- -. .--- --- .- -. .--- ---
- Internet: amcleod@anjo.hi.net (Angus Mcleod)
- Origin: The ANJO BBS
-